<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>SemOpt: src/SetArgumentsList.cpp File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">SemOpt
   &#160;<span id="projectnumber">0.2alpha5-SCC</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('SetArgumentsList_8cpp.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">src/SetArgumentsList.cpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;SetArgumentsList.h&quot;</code><br/>
</div>
<p><a href="SetArgumentsList_8cpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SetArgumentsList_8cpp.html#a9413b400ac7bc89c9652ebe2c0b3a81f">operator&lt;&lt;</a> (ostream &amp;stream, const <a class="el" href="classSetArgumentsList.html">SetArgumentsList</a> &amp;lablist)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">overriding of the operator &lt;&lt;  <a href="#a9413b400ac7bc89c9652ebe2c0b3a81f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classSetArgumentsList.html">SetArgumentsList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="SetArgumentsList_8cpp.html#a502928eeb2f29235e5a53b050fe86a92">operator+</a> (<a class="el" href="classSetArgumentsList.html">SetArgumentsList</a> a, const <a class="el" href="classSetArgumentsList.html">SetArgumentsList</a> &amp;b)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">overriding of the operator +.  <a href="#a502928eeb2f29235e5a53b050fe86a92"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition in file <a class="el" href="SetArgumentsList_8cpp_source.html">SetArgumentsList.cpp</a>.</p>
</div><hr/><h2>Function Documentation</h2>
<a class="anchor" id="a502928eeb2f29235e5a53b050fe86a92"></a><!-- doxytag: member="SetArgumentsList.cpp::operator+" ref="a502928eeb2f29235e5a53b050fe86a92" args="(SetArgumentsList a, const SetArgumentsList &amp;b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSetArgumentsList.html">SetArgumentsList</a> operator+ </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classSetArgumentsList.html">SetArgumentsList</a>&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classSetArgumentsList.html">SetArgumentsList</a> &amp;&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>overriding of the operator +. </p>
<p><img class="formulaInl" alt="$ A+B $" src="form_23.png"/> is a <b>new</b> <a class="el" href="classSetArgumentsList.html" title="Class representing a vector of labelling assignment.">SetArgumentsList</a> where all the elements stored in b are appended to a copy of a. "+" operator will only copy the reference, not the elements themselves: so <b>every changes</b> to a variable will probably change all the copied instances. For example if there are 2 <a class="el" href="classSetArgumentsList.html" title="Class representing a vector of labelling assignment.">SetArgumentsList</a>: </p>
<p class="formulaDsp">
<img class="formulaDsp" alt="\[ A={ {1,3}, {3,4,5}, {,5,6,1,2} } \]" src="form_24.png"/>
</p>
 <p class="formulaDsp">
<img class="formulaDsp" alt="\[ B={ {4}, {5}, {3,4}, {8,6}} \]" src="form_25.png"/>
</p>
<p> The result will be: </p>
<p class="formulaDsp">
<img class="formulaDsp" alt="\[ A+B={ {1,3}, {3,4,5}, {,5,6,1,2}, {4}, {5}, {3,4}, {8,6} } \]" src="form_26.png"/>
</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">a</td><td>the first term of the concatenation </td></tr>
    <tr><td class="paramname">b</td><td>the second term of the concatenation </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="SetArgumentsList_8cpp_source.html#l00309">309</a> of file <a class="el" href="SetArgumentsList_8cpp_source.html">SetArgumentsList.cpp</a>.</p>

<p>References <a class="el" href="SetArgumentsList_8cpp_source.html#l00246">SetArgumentsList::begin()</a>, <a class="el" href="SetArgumentsList_8cpp_source.html#l00262">SetArgumentsList::end()</a>, and <a class="el" href="SetArgumentsList_8cpp_source.html#l00214">SetArgumentsList::push_back()</a>.</p>

</div>
</div>
<a class="anchor" id="a9413b400ac7bc89c9652ebe2c0b3a81f"></a><!-- doxytag: member="SetArgumentsList.cpp::operator&lt;&lt;" ref="a9413b400ac7bc89c9652ebe2c0b3a81f" args="(ostream &amp;stream, const SetArgumentsList &amp;lablist)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ostream&amp; operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">ostream &amp;&#160;</td>
          <td class="paramname"><em>stream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classSetArgumentsList.html">SetArgumentsList</a> &amp;&#160;</td>
          <td class="paramname"><em>lablist</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>overriding of the operator &lt;&lt; </p>
<p>The operator will print a string representation of lablist. An example of output stream of this function may be:</p>
<p><code>{</code> {a c } {b c d } {e g d a w f }}</p>
<p>The operator will return the sentence: <code>{</code> } if and only if lablist size is zero. </p>

<p>Definition at line <a class="el" href="SetArgumentsList_8cpp_source.html#l00278">278</a> of file <a class="el" href="SetArgumentsList_8cpp_source.html">SetArgumentsList.cpp</a>.</p>

<p>References <a class="el" href="SetArgumentsList_8cpp_source.html#l00246">SetArgumentsList::begin()</a>, <a class="el" href="SetArgumentsList_8cpp_source.html#l00262">SetArgumentsList::end()</a>, and <a class="el" href="SetArgumentsList_8cpp_source.html#l00230">SetArgumentsList::size()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="SetArgumentsList_8cpp.html">SetArgumentsList.cpp</a>      </li>

    <li class="footer">Generated on Thu Oct 24 2013 17:38:30 for SemOpt by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
